package com.s3.khospitalds.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.s3.khospitalds.entity.Complaininfo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: xw
 * @CreateTime: 2025/2/20
 * @Description: 投诉类
 * @Version: 1.0
 */
@Mapper
@Repository
public interface ComplaininfoMapper extends BaseMapper<Complaininfo> {
    @Update("UPDATE complaininfo SET reply=#{reply}  WHERE id=#{id} ")
    public int updateByReply(@Param("reply") String reply, @Param("id") Integer id);

}
